<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="">
    <meta name="author" content="">
    <title>在线打印预约系统</title>
    <!-- Bootstrap core CSS -->
    <link rel="stylesheet" href="{{asset('/bootstrap/css/bootstrap.min.css')}}">
    <link rel="stylesheet" href="{{asset('/bootstrap/css/signin.css')}}">
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="{{asset('/jquery.js')}}"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="{{asset('/bootstrap/js/bootstrap.min.js')}}"></script>
</head>

<body>
@if(session('__Ajax_RedirectFunc_status') == true)
    <div>
        <div class="alert alert-success alert-dismissible fade in" role="alert">
            <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                <span aria-hidden="true">&times;</span>
            </button>
            <h3>成功</h3>
            <p><?php echo session('__Ajax_RedirectFunc_message');?></p>
            <p><?php echo session('__Ajax_RedirectFunc_plugin');?></p>
        </div>
    </div>
@endif
@if(session('__Ajax_RedirectFunc_status') === false)
    <div >
        <div class="alert alert-danger alert-dismissible fade in" role="alert">
            <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                <span aria-hidden="true">&times;</span>
            </button>
            <h3>失败</h3>
            <p><?php echo session('__Ajax_RedirectFunc_message');?></p>
            <p><?php echo session('__Ajax_RedirectFunc_plugin');?></p>
        </div>
    </div>
@endif
<div class="container">
    <h1 style="text-align: center">在线打印预约系统</h1>
    <br><br>
    <form class="form-signin"  method="post" action="/_register">
        <input type="hidden" name="_token" value="{{csrf_token()}}">
        <div class="form-group">
            <label>昵称</label>
            <input type="text" class="form-control" name="user_name" placeholder="昵称" required autofocus>
        </div>
        <div class="form-group">
            <label>手机号</label>
            <input type="number" class="form-control" name="user_phone" lay-verify="phone" placeholder="手机号" autocomplete="off" required autofocus >
        </div>
        <div class="form-group">
            <label>密码</label>
            <input type="password" class="form-control" name="user_password" placeholder="密码" required autofocus>
        </div>
        <p class="text-center" id="Lg-dialog"></p>
        <button type="submit" class="btn btn-primary btn-block">注册</button>
        <a href="/login" class="btn btn-default btn-block">返回</a>
    </form>
</div> <!-- /container -->
</body>
</html>